package com.gxa.modules.property.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRepairToUpdate {
    @ApiModelProperty(value = "报修id")
    private Integer id;
    @ApiModelProperty(value = "房屋编号")
    private Integer houseId;

    @ApiModelProperty(value = "报修项目编号")
    private Integer repairProjectId;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "问题描述")
    private String detail;

    @ApiModelProperty(value = "手机号码")
    private String phone;

//    @ApiModelProperty(value = "小区编号")
//    private Integer communityId;//小区编号

    @ApiModelProperty(required = true,example = "1997-01-01",value = "预约日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date orderDate;//预约日期

    @ApiModelProperty(value = "问题附件")
    private String problemAttachment;

//    @ApiModelProperty(value = "审核意见")
//    private String auditMind;//审核意见
//
//    @ApiModelProperty(value = "报修状态编号")
//    private Integer repairStateId;//报修状态id
}
